<template>
  <div class="container">
    <div class="content">
      <div class="big-title">
        <h2>{{ SchemeTopData.bigTitle.big }}</h2>
        <div class="span-container">
          <span>
            {{ SchemeTopData.bigTitle.small }}
          </span>
        </div>
      </div>
      <div class="small-title">
        <ul class="list">
          <li
            class="item"
            v-for="(item, index) in SchemeTopData.smallTitleData"
            :key="index"
          >
            <img
              src="../../assets/images/productScheme/dian.png"
              alt="smallLogo"
            />
            <span class="chinese">{{ item.chinese }}</span>
            <span class="english">{{ item.english }}</span>
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "SchemeTop",
  props: { SchemeTopData: Object },
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 600px;
  background: url("../../assets/images/productScheme/product-banner.jpg")
    no-repeat center center;
  background-size: cover;
  .content {
    position: relative;
    left: 200px;
    color: #fff;
    .big-title {
      h2 {
        font-size: 35px;
        font-weight: 600;
        letter-spacing: 7.2px;
        opacity: 0.9;
      }
      .span-container {
        margin: 70px 0 80px 0;
        max-width: 550px;
        span {
          line-height: 20px;
          font-size: 16px;
          font-weight: 100;
          letter-spacing: 5px;
          opacity: 0.8;
        }
      }
    }
    .small-title {
      .list {
        display: flex;
        flex-wrap: wrap;
        width: 650px;
        .item {
          margin: 10px 40px 10px 0;
          display: flex;
          align-items: center;
          border-bottom: 3px solid #31c46c;
          height: 30px;
          img {
            height: 80%;
            width: auto;
          }
          span {
            font-size: 16px;
          }
          span.chinese {
            margin: 0 10px;
            font-weight: 600;
            color: #31c46c;
            letter-spacing: 3px;
            opacity: 0.8;
          }
          span.english {
            opacity: 0.5;
          }
        }
        .item:last-child {
          margin-right: 0;
        }
      }
    }
  }
}
</style>
